<?php
namespace Kxdrmobile\Model;
use Think\Model\ViewModel;
class JifenUserViewModel extends ViewModel {
   public $viewFields = array(
     'shop_user'=>array('_table'=>"sm_shop_users",'id','lotts','wins','seeds','nextseeds','_type'=>'LEFT'),
     'kxdr_user'=>array('_table'=>"sm_kxdr_user",'_on'=>'kxdr_user.shop_uid=shop_user.id','id'=>'kxdr_uid','sid','sm_uid','shop_uid','friends','_type'=>'LEFT'),
     );
 }
 